<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>VectSharp: VectSharp.LinearGradientBrush Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="Doxy.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="icon.svg"/></td>
  <td id="projectalign">
   <div id="projectname">VectSharp<span id="projectnumber">&#160;2.6.1</span>
   </div>
   <div id="projectbrief">A light library for C# vector graphics</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('class_vect_sharp_1_1_linear_gradient_brush.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="class_vect_sharp_1_1_linear_gradient_brush-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">VectSharp.LinearGradientBrush Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p>Represents a brush painting with a linear gradient.   
 <a href="class_vect_sharp_1_1_linear_gradient_brush.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for VectSharp.LinearGradientBrush:</div>
<div class="dyncontent">
<div class="center"><img src="class_vect_sharp_1_1_linear_gradient_brush__inherit__graph.png" border="0" usemap="#a_vect_sharp_8_linear_gradient_brush_inherit__map" alt="Inheritance graph"/></div>
<map name="a_vect_sharp_8_linear_gradient_brush_inherit__map" id="a_vect_sharp_8_linear_gradient_brush_inherit__map">
<area shape="rect" title="Represents a brush painting with a linear gradient." alt="" coords="5,152,176,192"/>
<area shape="rect" href="class_vect_sharp_1_1_gradient_brush.html" title="Represents a brush painting with a gradient." alt="" coords="38,79,143,104"/>
<area shape="rect" href="class_vect_sharp_1_1_brush.html" title="Represents a brush used to fill or stroke graphics elements. This could be a solid colour,..." alt="" coords="63,5,119,31"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a7d7961159fbb62306e8d99782911ba44"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_linear_gradient_brush.html#a7d7961159fbb62306e8d99782911ba44">LinearGradientBrush</a> (<a class="el" href="struct_vect_sharp_1_1_point.html">Point</a> startPoint, <a class="el" href="struct_vect_sharp_1_1_point.html">Point</a> endPoint, IEnumerable&lt; <a class="el" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a> &gt; gradientStops)</td></tr>
<tr class="memdesc:a7d7961159fbb62306e8d99782911ba44"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="class_vect_sharp_1_1_linear_gradient_brush.html" title="Represents a brush painting with a linear gradient.">LinearGradientBrush</a> with the specified start point, end point and gradient stops.   <a href="class_vect_sharp_1_1_linear_gradient_brush.html#a7d7961159fbb62306e8d99782911ba44">More...</a><br /></td></tr>
<tr class="separator:a7d7961159fbb62306e8d99782911ba44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a57753ebaef4c497b6cc12eec529b75"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_linear_gradient_brush.html#a5a57753ebaef4c497b6cc12eec529b75">LinearGradientBrush</a> (<a class="el" href="struct_vect_sharp_1_1_point.html">Point</a> startPoint, <a class="el" href="struct_vect_sharp_1_1_point.html">Point</a> endPoint, params <a class="el" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>[] gradientStops)</td></tr>
<tr class="memdesc:a5a57753ebaef4c497b6cc12eec529b75"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="class_vect_sharp_1_1_linear_gradient_brush.html" title="Represents a brush painting with a linear gradient.">LinearGradientBrush</a> with the specified start point, end point and gradient stops.   <a href="class_vect_sharp_1_1_linear_gradient_brush.html#a5a57753ebaef4c497b6cc12eec529b75">More...</a><br /></td></tr>
<tr class="separator:a5a57753ebaef4c497b6cc12eec529b75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a748bcf8b12538d0f9abdf5de5987e22f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vect_sharp_1_1_linear_gradient_brush.html">LinearGradientBrush</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_linear_gradient_brush.html#a748bcf8b12538d0f9abdf5de5987e22f">RelativeTo</a> (<a class="el" href="class_vect_sharp_1_1_graphics.html">Graphics</a> referenceGraphics)</td></tr>
<tr class="memdesc:a748bcf8b12538d0f9abdf5de5987e22f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a <a class="el" href="class_vect_sharp_1_1_linear_gradient_brush.html" title="Represents a brush painting with a linear gradient.">LinearGradientBrush</a> with the same gradient stops as the current instance, whose start and end point correspond to the points of the current instance in the original reference frame of the <em>referenceGraphics</em> . This involves computing the current transform matrix of the <em>referenceGraphics</em> , inverting it, and applying the inverse matrix to the <a class="el" href="class_vect_sharp_1_1_linear_gradient_brush.html#aa5147dd5aa280d800094772000f7fa0a" title="The starting point of the gradient. Note that this is relative to the current coordinate system when ...">StartPoint</a> and <a class="el" href="class_vect_sharp_1_1_linear_gradient_brush.html#ad2b80c3e72fbf1dfad2f685e26869e80" title="The end point of the gradient. Note that this is relative to the current coordinate system when the g...">EndPoint</a> of the current instance.   <a href="class_vect_sharp_1_1_linear_gradient_brush.html#a748bcf8b12538d0f9abdf5de5987e22f">More...</a><br /></td></tr>
<tr class="separator:a748bcf8b12538d0f9abdf5de5987e22f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8bdc500034039488b83f9b8c73113e5"><td class="memItemLeft" align="right" valign="top">override <a class="el" href="class_vect_sharp_1_1_brush.html">Brush</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_linear_gradient_brush.html#af8bdc500034039488b83f9b8c73113e5">MultiplyOpacity</a> (double opacity)</td></tr>
<tr class="memdesc:af8bdc500034039488b83f9b8c73113e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a brush corresponding the current instance, with the specified <em>opacity</em>  multiplication applied. <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">opacity</td><td>The value that will be used to multiply the opacity of the brush.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A brush corresponding the current instance, with the specified <em>opacity</em>  multiplication applied.</dd></dl>
  <a href="class_vect_sharp_1_1_linear_gradient_brush.html#af8bdc500034039488b83f9b8c73113e5">More...</a><br /></td></tr>
<tr class="separator:af8bdc500034039488b83f9b8c73113e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd57afb8d1a56f6e8061b19588dde992"><td class="memItemLeft" align="right" valign="top">abstract <a class="el" href="class_vect_sharp_1_1_brush.html">Brush</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_brush.html#abd57afb8d1a56f6e8061b19588dde992">MultiplyOpacity</a> (double opacity)</td></tr>
<tr class="memdesc:abd57afb8d1a56f6e8061b19588dde992"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a brush corresponding the current instance, with the specified <em>opacity</em>  multiplication applied.   <a href="class_vect_sharp_1_1_brush.html#abd57afb8d1a56f6e8061b19588dde992">More...</a><br /></td></tr>
<tr class="separator:abd57afb8d1a56f6e8061b19588dde992"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="properties" name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:aa5147dd5aa280d800094772000f7fa0a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vect_sharp_1_1_point.html">Point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_linear_gradient_brush.html#aa5147dd5aa280d800094772000f7fa0a">StartPoint</a><code> [get]</code></td></tr>
<tr class="memdesc:aa5147dd5aa280d800094772000f7fa0a"><td class="mdescLeft">&#160;</td><td class="mdescRight">The starting point of the gradient. Note that this is relative to the current coordinate system when the gradient is used.   <a href="class_vect_sharp_1_1_linear_gradient_brush.html#aa5147dd5aa280d800094772000f7fa0a">More...</a><br /></td></tr>
<tr class="separator:aa5147dd5aa280d800094772000f7fa0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2b80c3e72fbf1dfad2f685e26869e80"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vect_sharp_1_1_point.html">Point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_linear_gradient_brush.html#ad2b80c3e72fbf1dfad2f685e26869e80">EndPoint</a><code> [get]</code></td></tr>
<tr class="memdesc:ad2b80c3e72fbf1dfad2f685e26869e80"><td class="mdescLeft">&#160;</td><td class="mdescRight">The end point of the gradient. Note that this is relative to the current coordinate system when the gradient is used.   <a href="class_vect_sharp_1_1_linear_gradient_brush.html#ad2b80c3e72fbf1dfad2f685e26869e80">More...</a><br /></td></tr>
<tr class="separator:ad2b80c3e72fbf1dfad2f685e26869e80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header properties_class_vect_sharp_1_1_gradient_brush"><td colspan="2" onclick="javascript:toggleInherit('properties_class_vect_sharp_1_1_gradient_brush')"><img src="closed.png" alt="-"/>&#160;Properties inherited from <a class="el" href="class_vect_sharp_1_1_gradient_brush.html">VectSharp.GradientBrush</a></td></tr>
<tr class="memitem:a5f3143bd480110d80f80a2b6fef2adb5 inherit properties_class_vect_sharp_1_1_gradient_brush"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_gradient_brush.html#a5f3143bd480110d80f80a2b6fef2adb5">GradientStops</a><code> [get]</code></td></tr>
<tr class="memdesc:a5f3143bd480110d80f80a2b6fef2adb5 inherit properties_class_vect_sharp_1_1_gradient_brush"><td class="mdescLeft">&#160;</td><td class="mdescRight">The colour stops in the gradient.   <a href="class_vect_sharp_1_1_gradient_brush.html#a5f3143bd480110d80f80a2b6fef2adb5">More...</a><br /></td></tr>
<tr class="separator:a5f3143bd480110d80f80a2b6fef2adb5 inherit properties_class_vect_sharp_1_1_gradient_brush"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_class_vect_sharp_1_1_brush"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_vect_sharp_1_1_brush')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="class_vect_sharp_1_1_brush.html">VectSharp.Brush</a></td></tr>
<tr class="memitem:acd043d04b1521feb9271491f9283a346 inherit pub_static_methods_class_vect_sharp_1_1_brush"><td class="memItemLeft" align="right" valign="top">static implicit&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_brush.html#acd043d04b1521feb9271491f9283a346">operator Brush</a> (<a class="el" href="struct_vect_sharp_1_1_colour.html">Colour</a> colour)</td></tr>
<tr class="memdesc:acd043d04b1521feb9271491f9283a346 inherit pub_static_methods_class_vect_sharp_1_1_brush"><td class="mdescLeft">&#160;</td><td class="mdescRight">Implicitly converts a <a class="el" href="struct_vect_sharp_1_1_colour.html" title="Represents an RGB colour.">Colour</a> into a <a class="el" href="class_vect_sharp_1_1_solid_colour_brush.html" title="Represents a brush painting with a single solid colour.">SolidColourBrush</a>.   <a href="class_vect_sharp_1_1_brush.html#acd043d04b1521feb9271491f9283a346">More...</a><br /></td></tr>
<tr class="separator:acd043d04b1521feb9271491f9283a346 inherit pub_static_methods_class_vect_sharp_1_1_brush"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >Represents a brush painting with a linear gradient.  </p>

<p class="definition">Definition at line <a class="el" href="_brush_8cs_source.html#l00291">291</a> of file <a class="el" href="_brush_8cs_source.html">Brush.cs</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a7d7961159fbb62306e8d99782911ba44" name="a7d7961159fbb62306e8d99782911ba44"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d7961159fbb62306e8d99782911ba44">&#9670;&#160;</a></span>LinearGradientBrush() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VectSharp.LinearGradientBrush.LinearGradientBrush </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_vect_sharp_1_1_point.html">Point</a>&#160;</td>
          <td class="paramname"><em>startPoint</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_vect_sharp_1_1_point.html">Point</a>&#160;</td>
          <td class="paramname"><em>endPoint</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IEnumerable&lt; <a class="el" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a> &gt;&#160;</td>
          <td class="paramname"><em>gradientStops</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a new <a class="el" href="class_vect_sharp_1_1_linear_gradient_brush.html" title="Represents a brush painting with a linear gradient.">LinearGradientBrush</a> with the specified start point, end point and gradient stops.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">startPoint</td><td>The starting point of the gradient. Note that this is relative to the current coordinate system when the gradient is used.</td></tr>
    <tr><td class="paramname">endPoint</td><td>The ending point of the gradient. Note that this is relative to the current coordinate system when the gradient is used.</td></tr>
    <tr><td class="paramname">gradientStops</td><td>The colour stops in the gradient.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_brush_8cs_source.html#l00309">309</a> of file <a class="el" href="_brush_8cs_source.html">Brush.cs</a>.</p>

</div>
</div>
<a id="a5a57753ebaef4c497b6cc12eec529b75" name="a5a57753ebaef4c497b6cc12eec529b75"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5a57753ebaef4c497b6cc12eec529b75">&#9670;&#160;</a></span>LinearGradientBrush() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VectSharp.LinearGradientBrush.LinearGradientBrush </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_vect_sharp_1_1_point.html">Point</a>&#160;</td>
          <td class="paramname"><em>startPoint</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_vect_sharp_1_1_point.html">Point</a>&#160;</td>
          <td class="paramname"><em>endPoint</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">params <a class="el" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>[]&#160;</td>
          <td class="paramname"><em>gradientStops</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a new <a class="el" href="class_vect_sharp_1_1_linear_gradient_brush.html" title="Represents a brush painting with a linear gradient.">LinearGradientBrush</a> with the specified start point, end point and gradient stops.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">startPoint</td><td>The starting point of the gradient. Note that this is relative to the current coordinate system when the gradient is used.</td></tr>
    <tr><td class="paramname">endPoint</td><td>The ending point of the gradient. Note that this is relative to the current coordinate system when the gradient is used.</td></tr>
    <tr><td class="paramname">gradientStops</td><td>The colour stops in the gradient.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_brush_8cs_source.html#l00323">323</a> of file <a class="el" href="_brush_8cs_source.html">Brush.cs</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="af8bdc500034039488b83f9b8c73113e5" name="af8bdc500034039488b83f9b8c73113e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8bdc500034039488b83f9b8c73113e5">&#9670;&#160;</a></span>MultiplyOpacity()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">override <a class="el" href="class_vect_sharp_1_1_brush.html">Brush</a> VectSharp.LinearGradientBrush.MultiplyOpacity </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>opacity</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a brush corresponding the current instance, with the specified <em>opacity</em>  multiplication applied. <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">opacity</td><td>The value that will be used to multiply the opacity of the brush.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A brush corresponding the current instance, with the specified <em>opacity</em>  multiplication applied.</dd></dl>
 </p>

<p>Implements <a class="el" href="class_vect_sharp_1_1_brush.html#abd57afb8d1a56f6e8061b19588dde992">VectSharp.Brush</a>.</p>

<p class="definition">Definition at line <a class="el" href="_brush_8cs_source.html#l00406">406</a> of file <a class="el" href="_brush_8cs_source.html">Brush.cs</a>.</p>

</div>
</div>
<a id="a748bcf8b12538d0f9abdf5de5987e22f" name="a748bcf8b12538d0f9abdf5de5987e22f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a748bcf8b12538d0f9abdf5de5987e22f">&#9670;&#160;</a></span>RelativeTo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_vect_sharp_1_1_linear_gradient_brush.html">LinearGradientBrush</a> VectSharp.LinearGradientBrush.RelativeTo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_graphics.html">Graphics</a>&#160;</td>
          <td class="paramname"><em>referenceGraphics</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a <a class="el" href="class_vect_sharp_1_1_linear_gradient_brush.html" title="Represents a brush painting with a linear gradient.">LinearGradientBrush</a> with the same gradient stops as the current instance, whose start and end point correspond to the points of the current instance in the original reference frame of the <em>referenceGraphics</em> . This involves computing the current transform matrix of the <em>referenceGraphics</em> , inverting it, and applying the inverse matrix to the <a class="el" href="class_vect_sharp_1_1_linear_gradient_brush.html#aa5147dd5aa280d800094772000f7fa0a" title="The starting point of the gradient. Note that this is relative to the current coordinate system when ...">StartPoint</a> and <a class="el" href="class_vect_sharp_1_1_linear_gradient_brush.html#ad2b80c3e72fbf1dfad2f685e26869e80" title="The end point of the gradient. Note that this is relative to the current coordinate system when the g...">EndPoint</a> of the current instance.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">referenceGraphics</td><td>The <a class="el" href="class_vect_sharp_1_1_graphics.html" title="Represents an abstract drawing surface.">Graphics</a> whose original reference frame is to be used.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="class_vect_sharp_1_1_linear_gradient_brush.html" title="Represents a brush painting with a linear gradient.">LinearGradientBrush</a> with the same gradient stops as the current instance, whose start and end point correspond to the points of the current instance in the original reference frame of the <em>referenceGraphics</em> .</dd></dl>

<p class="definition">Definition at line <a class="el" href="_brush_8cs_source.html#l00356">356</a> of file <a class="el" href="_brush_8cs_source.html">Brush.cs</a>.</p>

</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a id="ad2b80c3e72fbf1dfad2f685e26869e80" name="ad2b80c3e72fbf1dfad2f685e26869e80"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad2b80c3e72fbf1dfad2f685e26869e80">&#9670;&#160;</a></span>EndPoint</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_vect_sharp_1_1_point.html">Point</a> VectSharp.LinearGradientBrush.EndPoint</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The end point of the gradient. Note that this is relative to the current coordinate system when the gradient is used.  </p>

<p class="definition">Definition at line <a class="el" href="_brush_8cs_source.html#l00301">301</a> of file <a class="el" href="_brush_8cs_source.html">Brush.cs</a>.</p>

</div>
</div>
<a id="aa5147dd5aa280d800094772000f7fa0a" name="aa5147dd5aa280d800094772000f7fa0a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa5147dd5aa280d800094772000f7fa0a">&#9670;&#160;</a></span>StartPoint</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_vect_sharp_1_1_point.html">Point</a> VectSharp.LinearGradientBrush.StartPoint</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The starting point of the gradient. Note that this is relative to the current coordinate system when the gradient is used.  </p>

<p class="definition">Definition at line <a class="el" href="_brush_8cs_source.html#l00296">296</a> of file <a class="el" href="_brush_8cs_source.html">Brush.cs</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>VectSharp/<a class="el" href="_brush_8cs_source.html">Brush.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_vect_sharp.html">VectSharp</a></li><li class="navelem"><a class="el" href="class_vect_sharp_1_1_linear_gradient_brush.html">LinearGradientBrush</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5 </li>
  </ul>
</div>
</body>
</html>
